﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Liger.Web.UI
{
    public class GridColumnEditor
    {
        public GridColumnEditor()
        {
            this.Options = new Dictionary<string, object>();
        }
        public string Type
        {
            get;
            set;
        }


        public int? MinValue
        {
            get;
            set;
        }
        public int? MaxValue
        {
            get;
            set;
        }
        public string ValueColumnName
        {
            get;
            set;
        }

        public string DisplayColumnName
        {
            get;
            set;
        }


        public object Data
        {
            get;
            set;
        }

        public Func<string> OnChange
        {
            get;
            set;
        } 
        public Func<string> OnChanged
        {
            get;
            set;
        }

        public Func<string> P
        {
            get;
            set;
        }

        public Dictionary<string, object> Options { get; set; }
    }
}
